var EntityType = {
    UNKNOWN: 0 ,
    PART: 1,
    ASSEMBLY: 2,
    ENTIYY: 3,
    SOLID: 4,
    SHELL: 5,
    SKETCH: 6,
    SKETCHREGION: 7,
    CURVE: 8,
    WORKPLANE: 9,
    DATUMPLANE: 10,
    DATUMLINE: 11,
    DATUMPOINT: 12,
    PARTFILE: 13,
    ASSEMBLYFILE: 14,
    UNDOREDO: 15,
    DELETE: 16,
    VISIBLE: 17,
    VIEW: 18,
    FACE: 19,
    EDGE: 20,
    VERTEX:21 ,
    POINT: 22,
    MARKER: 23,
    SURFACE:24 ,
    CONSTRAINT: 25,
    DIMENSION: 26,
    _3DDIMENSION: 27,
    VARIABLE: 28,
    DRIVEDIMENSION:29 ,
    LABEL: 30,
    GROUP : 31,
    FILE: 32,
    PROPERTY:33 ,
    DDIMENSION:34 , //DrivingDimension
    MESH: 36,
    LABEL_TEXT: 37, //多行文本
    MBDDRAGPOINT: 38,
    SECTIONLINE: 39,
    DRAFT_SYMBOL: 41, // 工程图辅助视图符号，一个箭头旁边有个字
    ARS: 45, // 坐标系
    AXIS: 46, // 基础坐标轴
    SOLIDFOLDERGROUP: 47, // 实体文件夹
    SHELLFOLDERGROUP: 48, // 曲面文件夹
    CURVEFOLDERGROUP: 49, // 曲线文件夹
    CUTTINGFOLDERGROUP: 50, // 切割项目文件夹

    COSMETICTHREAD: 55, // 前端暂自己定义的装饰螺纹线entity类型，与curve区分开，后续内核单独定义类型

    POSTPROCESS: 90,
    PREPROCESS_MESH: 91, // CAE前处理网格

    SNAPPOINT:97,
    POINTONCURVE:98,
    ORIGINPOINT:99, // todo: 删除，使用DATUMPOINT代替
    TYPE_ERROE:100,

    MASSPOINT:51,
    MASSREFPOINT:52,

    STUDY: 200,           // 仿真算例
    SIMULATION_GRID: 201, // 网格
    EXTERNAL_LOADS: 202,  // 外部载荷
    APPLY_MATERIAL: 203,  // 材质
    FIXTURES: 204,        // 边界约束
};
export { EntityType };

var ElementType = {
    UNKNOWN: 0 ,
    SKETCHREGION: 7,
    CURVE: 8,
    WORKPLANE: 9,
    DATUMPLANE: 10,
    DATUMLINE: 11,
    DATUMPOINT: 12,
    DATUMPLANEPOINT: 13,
    FACE: 19,
    EDGE: 20,
    VERTEX:21 ,
    POINT: 22,
    MARKER: 23,
    SURFACE:24 ,
    CONSTRAINT: 25,
    DIMENSION: 26,
    _3DDIMENSION: 27,
    VARIABLE: 28,
    DRIVEDIMENSION:29 ,
    LABEL: 30,
    GROUP : 31,
    FILE: 32,
    PROPERTY:33 ,
    DDIMENSION:34 , //DrivingDimension
    SKETCHTEXT: 35,
    MESH: 36,
    LABEL_TEXT: 37,
    MBDDRAGPOINT: 38,
    SECTIONLINE: 39,
    DRAFT_SYMBOL: 41, // 工程图辅助视图符号，一个箭头旁边有个字
    DRAW_TEXT: 42,
    DRAW_LABEL: 43,
    DRAW_DIMENSION: 44,
    ARS: 45, // 坐标系

    //质点
    MASSPOINT: 51,
    MASSREFPOINT:52,
    WELDBEAD: 53,   // 焊缝
    COSMETICTHREAD: 55, // 前端暂自己定义的装饰螺纹线element类型，与curve区分开，后续内核单独定义类型

    DRAW_IMAGE: 54,
    BREAKLINE: 71, // TODO: 前端暂自己定义的断裂线element类型，与curve区分开，后续内核单独定义类型

    COMB: 89,

    SNAPPOINT:97,
    POINTONCURVE:98,
    ORIGINPOINT:99, // todo: 删除，使用DATUMPOINT代替
    ERROE:100,
    TABLE: 101,
    HATCHLINE: 102,
    ARSSPHERE: 103, // 坐标系包围球（视为整个坐标系）

    POINTCLOUD: 260, // 点云
    POINT_IN_POINTCLOUD: 261, // 点云中的一个点

};
export { ElementType };

var GeomType =
    {
        UNKNOWN: 0,
        POINT: 1, //point, //
        // 线几何类型
        LINE: 10, // line, //
        CIRCLE: 11, // circle, //
        ARC: 12, // arc, //
        ELLIPSE: 13, // ellipse, //
        NURBSCURVE: 14, // nurbs, //
        INTERPOLATIONNURBSCURVE: 15, // Interpolation_Nurbs, //
        CONTROLNURBSCURVE: 16, // Control_Nurbs, //
        CURVEONSURFACE:  17, // crvOnSrf, //
        OFFSCURVE: 18, // offsetCurve, //
        ELLIPSEARC: 19, // ellipseArc, //
        EquationCurve: 20, // equationCurve， //

        //面
        PLANE : 50, // "plane"
        CYLINDER: 51, // cylinder, //
        RULE: 52, // rule, //
        COONS: 53, // coons, //
        REVOLUTION: 54, // revolution, //
        TABCYLINDER: 55, // tabCylinder, //
        NURBSSURFACE: 56, // nurbs, //
        BLEND: 57, // blend, //
        DEFORM: 58, // deform, //
        MONODRIVEN: 59, // monoDriven, //
        BIDRIVEN: 60, // biDriven, //
        DAVID: 61, // david, //
        OFFSSRF: 62, // offs, //
        CONE: 63, // cone, //
        SPHERE: 64, // sphere, //
        TORUS: 65, // torus, //
        ERROR: 100// ERROR, //

    };

export { GeomType };

var SurfaceType=
{
    PLANE: 0,      // 平面
    SPHERE: 1,     // 球面
    CYLINDER: 2,  // 圆柱面
    CONE: 3        // 圆锥面
};
export { SurfaceType };